package com.job.blossom.work0711;

/**
 * @author ZJM
 * @version 1.0
 * @since 2022-07-11 19:03:42
 */
public class TestPremier {
    public static void main(String[] args) {
//        final 修饰的局部变量

        final double PI = 3.14;




        Premier premier1 = Premier.getInstance();
        Premier premier2 = Premier.getInstance();

        Premier premier3 = Premier.getInstance();

        System.out.println(premier1==premier2 && premier1==premier3);

        premier1.setName("小安");
        System.out.println(premier2.getName());
        System.out.println(premier3.getName());



    }
}
